package com.gxa.entity.parking;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author yjl
 * @since 2022-10-11 10:05:39
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@TableName("t_p_region")
@ApiModel(value = "PRegion对象", description = "")
public class PRegion implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("区域id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("区域编号")
    @TableField("region_num")
    private String regionNum;

    @ApiModelProperty("区域名称")
    @TableField("region_name")
    private String regionName;

    @ApiModelProperty("停车场编号")
    @TableField("parking_num")
    private String parkingNum;


//    @ApiModelProperty("账户")
//    @TableField("user_account")
//    private String userAccount;
//
//    @ApiModelProperty("证件号码")
//    @TableField("id_number")
//    private String idNumber;
//
//    @ApiModelProperty("房屋id(申请绑定房屋的地址)")
//    @TableField("house_id")
//    private Integer houseId;
//
//    @ApiModelProperty("人员类型 (0:租户，1：家庭成员，2：业主）")
//    @TableField("owner_type")
//    private Integer ownerType;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time")
    private Date createTime;

    @TableLogic(value = "0" ,delval ="1")
    @TableField("deleted")
    private Integer deleted;


}
